<?php

    $submitted = isset($_POST["submit"]) ? $_POST["submit"] : 0;

    $find = isset($_POST["find-str"]) ? FART::search($_POST["find-str"]) : "";
    $replace = isset($_POST["replace-str"]) ? FART::search($_POST["replace-str"]) : "";

    $command = "\"c:\\program files\\fart\\fart.exe\" -n -b c:\\find\\*.* $find $replace > find.log";
    exec($command);
    
    
?>
